<!DOCTYPE html>
<body>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<script>
test(function() {
    var radio = document.createElement('input');
    radio.type = 'radio';
    radio.dispatchEvent(new KeyboardEvent('keydown', { key: 'ArrowDown' } ));
}, 'Sending a keydown event to detached radio button should not crash.');
</script>
</body>
